<%--
  Created by IntelliJ IDEA.
  User: Media
  Date: 2022/9/9
  Time: 11:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    int number = 0+(int)(Math.random()*100);
    if(number<60){
        out.println("你的成绩为="+number+);
        out.println("你的成绩为不及格");
    }
    else{
        out.println("你的成绩为="+number);
        out.println("你的成绩为及格");
    }
    if(number>90){
        out.println("你的成绩为优");
    }
%>
</body>
</html>
